package org.sbi.satvik.utility;

import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;

public class StringObjectToJson {
	public static JSONObject stringconverter(String data) throws ParseException{
		JSONObject retrunJsonObject = new JSONObject();
		
		JSONParser parser = new JSONParser();
		Object object= parser.parse(data);
		retrunJsonObject =(JSONObject)object;
		
		
		return retrunJsonObject;
	}
}
